package com.ruoyi.hotel.domain.dto;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.hotel.domain.HlRoomType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class HlRoomDeviceDTO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 房间设备id */
    private Integer id;

    /** 房间类型id */
    private Integer roomTypeId;

    /** 房间设备And个数JSON */
    private String deviceNameAndCount;

    /** 数据状态（0停用/1使用） */
    private Integer state;



    /** 房间类型类 */
    private HlRoomType roomType;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoomTypeId() {
        return roomTypeId;
    }

    public void setRoomTypeId(Integer roomTypeId) {
        this.roomTypeId = roomTypeId;
    }

    public String getDeviceNameAndCount() {
        return deviceNameAndCount;
    }

    public void setDeviceNameAndCount(String deviceNameAndCount) {
        this.deviceNameAndCount = deviceNameAndCount;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public HlRoomType getRoomType() {
        return roomType;
    }

    public void setRoomType(HlRoomType roomType) {
        this.roomType = roomType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("roomTypeId", getRoomTypeId())
                .append("getDeviceNameAndCount", getDeviceNameAndCount())
                .append("state", getState())
                .append("roomType", getRoomType())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }



}
